<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yak\layui\widgets\form;

class SearchActiveField extends ActiveField
{
    public $options = ['class' => 'layui-inline'];

    public $template = "{label}\n<div class=\"layui-input-inline\">{input}</div>";

    public function init()
    {
        $this->inputOptions['name'] = $this->attribute;
        parent::init(); // TODO: Change the autogenerated stub
    }

}
